lib/deltas: Use pread() instead of lseek()+read()
authorColin Walters <walters@verbum.org>
Sat, 14 Oct 2017 00:51:39 +0000 (20:51 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 17 Oct 2017 15:20:08 +0000 (15:20 +0000)
commit93457071cb5d47c08b60d3244f9632725634010a
tree8ae499666913a643e6b1ca72504c5678b426d235
parentbb05b187b63e9e61745b1ca77640a41c257a741f
lib/deltas: Use pread() instead of lseek()+read()

That's why the syscall was invented, so let's use it. Just noticed while reading
the code while working on another patch.

Closes: #1270
Approved by: jlebon
src/libostree/ostree-repo-static-delta-processing.c